<p>instance02 works!</p>
<p>生命周期!</p>

<ul>
    <li *ngFor="let item of books; let i=index">{{item}}</li>
</ul>
<button (click)="books.push('三国')">添加</button>